﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;
using System.Data;
using DTO;

namespace DAO
{
    public class SanPhamDAO
    {
        public static string ThongTinSanPham(int maSanPham)
        {
            List<SqlParameter> sqlParams = new List<SqlParameter>();
            sqlParams.Add(new SqlParameter("@MaSanPham", maSanPham));
            return (string)DataProvider.ExecuteScalar("usp_ThongTinSanPham ", sqlParams);
        }
    }
}
